package com.zixi.beverage_order.service.seller;

import com.zixi.beverage_order.pojo.Product;
import com.zixi.beverage_order.pojo.ReturnOrderedProductInfo;
import com.zixi.beverage_order.pojo.ReturnProductInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ProductService {
    public List<ReturnProductInfo> getAllProduct();
    public void insertProduct(Product product);
    public Product selectById(Long id);
    public void updateProduct(Product product);
    public void deleteById(Long id);
    public List<ReturnOrderedProductInfo> getEveryProductInfo(Long listId);
}
